package com.youhome.business;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.core.convert.converter.Converter;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

@SpringBootApplication
@EnableScheduling  //开启定时任务
@ComponentScan(value = "com.youhome") //解决包路径不统一问题
public class BusinessApplication {



	public static void main(String[] args) {
		SpringApplication.run(BusinessApplication.class, args);
	}

}

